<template>
	<div id="test-dz">
		<el-button @click="dz">点赞</el-button>
	</div>
</template>

<script>
	import {$get} from '@/puigins/request.js'
	export default{
		methods:{
			dz(){
				$get('/test/dz').then(res=>{
					if(res.code==200){
						this.$message.success(res.data)
					}else{
						this.$message.error(res.data)
					}
				})
			}
		}
	}
</script>

<style>
</style>
